package com.ytjj.qmyx.admin.service.imService.impl;

import com.ytjj.qmyx.admin.mapper.ImIssueClassifyMapper;
import com.ytjj.qmyx.admin.model.ImIssueClassify;
import com.ytjj.qmyx.admin.service.imService.ImIssueClassifyService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class ImIssueClassifyServiceImpl implements ImIssueClassifyService {

    private ImIssueClassifyMapper imIssueClassifyMapper;

    @Override
    public List<ImIssueClassify> classifyList() {
        return imIssueClassifyMapper.classifyList();
    }

    @Override
    public int insertClassify(ImIssueClassify imIssueClassify) {
        return imIssueClassifyMapper.insertClassify(imIssueClassify);
    }

    @Override
    public int updateClassify(ImIssueClassify imIssueClassify) {
        return imIssueClassifyMapper.updateClassify(imIssueClassify);
    }

    @Override
    public int deleteClassify(Integer id) {
        return imIssueClassifyMapper.deleteClassify(id);
    }

    @Override
    public ImIssueClassify selectClassify(Integer id) {
        return imIssueClassifyMapper.selectClassify(id);
    }
}
